package com.iyunwen.datatool.entrance;

import com.iyunwen.datatool.process.DataDetectionProcess;
import com.iyunwen.datatool.process.EventLogProcess;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @description: 数据检测入口
 * @author: Zhu.Guodong
 * @create: 2020-03-16 21:06
 * @version:
 */
@Component
public class DataDetectionEntrance implements CommandLineRunner {

    @Autowired
    DataDetectionProcess dataDetectionProcess;

    @Autowired
    EventLogProcess eventLogProcess;

    @Override
    public void run(String... args) throws Exception {
//        dataDetectionProcess.dataProcessing();
        eventLogProcess.process();
    }
}
